<div id="tracktable">
      <?php
      $tracklist = $this->tracklist;
      if ($tracklist) {
            echo'<div style="font-size:14px;padding: 20px;">历史记录：</div>';
            ?>
            <div class="biaotbody">
                  <table >
                        <tr>
                              <th class="li10" style="text-align:center">
                                    日期
                              </th>
                              <th class="li6" >
                                    操作人
                              </th>
                              <th class="li10">
                                    内容
                              </th>
                              <th class="li6" >
                                    执行状态
                              </th>
                        </tr>
                  </table>
            </div>
            <?php
            foreach ($tracklist as $key => $Track) {
                  if ($key > 5)
                        break;
                  ?>
                  <div class="tablebox">
                        <table>
                              <tr>
                                    <td class="li10" align="center"><?= $Track->dateAdd ?></td>
                                    <td class="li6">
                                          <?= $Track->operator//$Item->UserName?$Item->UserName->nikename:''?>
                                    </td>
                                    <td class="li10"><?php echo $Track->content; ?></td>
                                    <td class="li6" ><?php echo Application_Model_TodoTask::getObjectIdStatus($Track->operateType); ?>
                                    </td>
                              </tr>
                        </table>
                  </div>
                  <?php
            }
      } else {
            echo '<div class="tablebox"></div>';
      }
      ?>
</div>